#pragma once

#include <iostream>
#include <thread>
#include <mutex>
#include <vector>
#include <sstream>

class Counter
{
private:
    int value;
    std::mutex mtx;
public:
    Counter(const int value = 0);

    void increment();//增长
    int getValue();
};
